package org.codert.aspect;

/**
 * @author: TanJingyu
 * @create: 2022-03-23 16:22
 **/
public class DataThreadLocalUtil {
    private static final ThreadLocal<String> resources = ThreadLocal.withInitial(() -> "default");

    public static String getResources() {
        return resources.get();
    }

    public static void setResources(String s) {
        resources.set(s);
    }
}

    